package com.zbkj.crmeb.chant.request;

import com.zbkj.crmeb.store.model.StoreProductValueMer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ActivityProductRequest implements Serializable {

    @ApiModelProperty(value = "活动id")
    @NotNull(message = "活动id不能为空")
    private Integer activityId;

    @ApiModelProperty(value = "商品id")
    @NotNull(message = "商品id不能为空")
    private Integer productId;

    @ApiModelProperty(value = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;

    @ApiModelProperty(value = "是否修改售价")
    @NotNull
    private Boolean isModify;

    @ApiModelProperty(value = "是否修改秒杀价")
    @NotNull
    private Boolean isSpike;

    @ApiModelProperty(value = "商品sku属性")
    private List<StoreProductValueMer> StoreProductValueMerList;

}